cmake_minimum_required(VERSION 3.1)

project(test2)
set(_this test2)

set(_headers )
set(_sources
    test2.cpp
)

add_executable(${_this} 
  ${_headers}
  ${_sources}
)

target_link_libraries(${_this}
gtest_main
)
add_test(
    NAME eqaul_test
    COMMAND ${_this}
)